﻿<%@ Page Title="" Language="C#" MasterPageFile="~/masterpage.master" AutoEventWireup="true" CodeFile="zoekresultaat.aspx.cs" Inherits="zoekresultaat" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="zoeken" style="text-align:center;font-size:16px;">
        <div style="background:#507CD1;">
            <asp:Label ID="Label5" runat="server" Text="Snel zoeken resultaat" CssClass="zoekLabel" ></asp:Label>
        </div>
    </div>
    <div style="text-align:right;margin-right:10px;">
        <asp:Label ID="Label4" runat="server" Font-Bold="true" Font-Size="14px" Text="Gezocht op:"></asp:Label>
        <asp:Label ID="Label3" runat="server" Font-Size="14px" ></asp:Label>
    </div>
    <div style="text-align:center;margin-top:20px;">
        <asp:Label ID="Label1" runat="server" Font-Bold="true" Font-Size="16px" Text="Gezocht in: Titels"></asp:Label>
    </div>
    &nbsp;&nbsp;&nbsp;
    <asp:GridView ID="GridView1" runat="server"
        CellPadding="4" ForeColor="#333333" HorizontalAlign="Center" 
        GridLines="None" AutoGenerateColumns="False" OnPageIndexChanging="gridView_PageIndexChanging" 
        style="margin-top: 10px" Width="814px" BorderStyle="Solid" BorderWidth="1px" 
        AllowPaging="True" PageSize="4">
        <RowStyle BackColor="#EFF3FB" />
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" 
            HorizontalAlign="Center" />
        <Columns>
            <asp:ImageField DataImageUrlField="image">
                <ControlStyle Height="40px" Width="30px" />
            </asp:ImageField>
            <asp:HyperLinkField ControlStyle-Width="200" DataNavigateUrlFields="GAME_NR"
            datanavigateurlformatstring="Details.aspx?id={0}" headerText="Artikelnaam" 
                DataTextField="Titel" >
            <ControlStyle Width="200px"></ControlStyle>
            </asp:HyperLinkField>
            <asp:HyperLinkField ControlStyle-Width="200" DataNavigateUrlFields="MAKER_ID"
            datanavigateurlformatstring="Details_maker.aspx?id={0}" 
                headerText="Ontwikkelaar" DataTextField="NAAM" >
            <ControlStyle Width="200px"></ControlStyle>
            </asp:HyperLinkField>
            <asp:BoundField headerText="Platform" dataField="OMSCHRIJVING"/>
            <asp:BoundField headerText="Prijs(€)" dataField="PRIJS"/>
        </Columns>
        <EmptyDataTemplate>
           <div style="text-align:center">Geen zoekresultaat</div>
        </EmptyDataTemplate>
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" HorizontalAlign="left" ForeColor="White" />
        <EditRowStyle BackColor="#2461BF" />
        <AlternatingRowStyle BackColor="White"/>
    </asp:GridView>
    <div style="text-align:center;margin-top:20px;">
        <asp:Label ID="Label2" runat="server" Font-Bold="true" Font-Size="16px" Text="Gezocht in: Ontwikkelaars"></asp:Label>
    </div> 
    <asp:GridView ID="GridView2" runat="server"
        CellPadding="4" ForeColor="#333333" HorizontalAlign="Center" BorderStyle="Solid" BorderWidth="1px" 
        GridLines="None" AutoGenerateColumns="False" OnPageIndexChanging="gridView2_PageIndexChanging" 
        style="margin-top: 10px" Width="814px" AllowPaging="True" PageSize="4">
        <RowStyle BackColor="#EFF3FB" />
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <Columns>
            <asp:ImageField DataImageUrlField="image">
                <ControlStyle Height="40px" Width="30px" />
            </asp:ImageField>
            <asp:HyperLinkField ControlStyle-Width="200" NavigateUrl="~/Details.aspx" DataNavigateUrlFields="GAME_NR"
            datanavigateurlformatstring="Details.aspx?id={0}" headerText="Artikelnaam" DataTextField="Titel" />
            <asp:HyperLinkField ControlStyle-Width="200" NavigateUrl="~/Details.aspx" DataNavigateUrlFields="MAKER_ID"
            datanavigateurlformatstring="Details_maker.aspx?id={0}" headerText="Ontwikkelaar" DataTextField="NAAM" />
            <asp:BoundField headerText="Platform" dataField="OMSCHRIJVING"/>
            <asp:BoundField headerText="Prijs(€)" dataField="PRIJS"/>
        </Columns>
        <EmptyDataTemplate>
           <div style="text-align:center">Geen zoekresultaat</div>
        </EmptyDataTemplate>
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" HorizontalAlign="left" ForeColor="White" />
        <EditRowStyle BackColor="#2461BF" />
        <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
</asp:Content>

